package com.scott.spring.webmvc.auto.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @GetMapping("/hello-world")
    public String index() {
        System.out.println("Spring  自动装配");
        return "Spring  自动装配";
    }
}
